Repository navigation
NOTICE: name the dsh version the image actually builds - #3496
Merged
Merged
Conversation
The root NOTICE said the runtime image installs @deepseek-ai/dsh@0.2.2-rc.1.
It does not: the workflow reads dsh from runtime/ds-bot-upstream.pin.json
(0.2.2-rc.5), exports DSH_VERSION and passes it as a build-arg, and the
recipe installs @deepseek-ai/dsh@${DSH_VERSION}. Nothing compared the two.
- NOTICE now points at the pin for the version and names 0.2.2-rc.5 as the
version at this notice
- the rc.1 review stays as the audited snapshot, with the shipped rc.5
stated as unaudited and its tarball correspondence still unverified
- verify-reuse-audit-pins.py fails when @deepseek-ai/dsh@<pin dsh> is absent
from the root NOTICE, so a pin bump cannot leave the NOTICE behind
Refs #3495
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
The root
NOTICEtold readers that the runtime image "additionally installs ...@deepseek-ai/dsh@0.2.2-rc.1and its production direct dependencies". It does not..github/workflows/flybot-runtime-image.yml:46readsdshfromruntime/ds-bot-upstream.pin.json(0.2.2-rc.5),:55exportsDSH_VERSION,:62passes it as a build-arg, andruntime/flybot-image/Dockerfileinstalls@deepseek-ai/dsh@${DSH_VERSION}— and since #3491 an empty value fails the build instead of falling back.Nothing compared the NOTICE with the pin, and the root NOTICE has no sha256 pin of its own, so a licensing statement could name a version the image does not install indefinitely.
NOTICE:22names@deepseek-ai/dshand points atruntime/ds-bot-upstream.pin.jsonfor the version, naming0.2.2-rc.5as the version at this notice. The MPL-2.0@deepseek-ai/libreoffice-kitobligations are untouched.NOTICE:66keeps the rc.1 review as the audited snapshot and says the image now builds the pinned0.2.2-rc.5, whose npm tarball correspondence with the git tag's compiled JavaScript remains explicitly unverified.scripts/verify-reuse-audit-pins.pygains a gate: it fails when@deepseek-ai/dsh@<pin dsh>is absent from the root NOTICE, so a pin bump cannot leave the NOTICE behind again.No license text changes, no dependency changes, no new claim that any version was audited, and no claim that the image is a public redistributable release.
Evidence (local on this host, not CI)
Replayed on a clean
b380e626fdc4bcb879c0d3c4af85167200e3c0fetarball; the rebuilt base tree isc6a01ad43494362edca297e5f1ba3f6097835171, which is the tree GitHub reports for that commit. The patch applies withgit apply --checkrc 0 andgit write-treegivesaacdf8ea529f4355cfb72e87a73cf4eb21861ca9; the branch commit5f8fb7b293bef4e5ea59d520e41ec5043cf18819has that tree, and exactly two blobs changed against the base (NOTICE70707b1->18dd7141,verify-reuse-audit-pins.py404b39c1->b08134c3).python3 scripts/verify-reuse-audit-pins.py-> rc 0, 30OKlines, includingOK root NOTICE names the shipped DSH version @deepseek-ai/dsh@0.2.2-rc.5;python3 -m unittest tests.test_shipped_licenses-> 5 tests OK.FAIL: root NOTICE does not name the shipped DSH version @deepseek-ai/dsh@0.2.2-rc.5, rc 1.Scope
Slice 1 of the drift described in #3495: the NOTICE and its gate. The same "current = rc.1" phrasing still stands in
docs/reuse-audit/README.md,pins.json,SHIPPED.mdandINVENTORY.md; that is a separate slice and is listed in the issue.Refs #3495